import java.io.*;
public class FileWriterTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		FileWriter f=null;
		int a=0;
		try {
			f=new FileWriter("d:\\Unicode.txt");
			for(int i=0;i<10000;i++){
				f.write(i);
			}
			f.flush();
			f.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
